def sum1(*args):
    """
    求和
    :param args:可变参数,元组
    :return: 返回参数之和
    """
    result = 0
    for i in args:
        result += i
    return result


print(sum1(1, 3, 5, 7, 9, 2, 4, 6, 8, 10))

a, b = 2, 3
print(f'a={a},b={b}')
a, b = b, a
print(f'a={a},b={b}')


def change_two_variable(x, y):
    x, y = y, x
    return x, y


ri = change_two_variable(4, 5)
print(ri)
